package wei.xinya.pattern.structural.Proxy.dynamicProxy;

import wei.xinya.pattern.structural.Proxy.SmsService;
import wei.xinya.pattern.structural.Proxy.SmsServiceImpl;

public class Test {
    public static void main(String[] args) {
        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new SmsServiceImpl());
        smsService.send("java");
    }
}
